package com.jingdianjichi.subject.application.convert;

import com.jingdianjichi.subject.application.dto.SubjectAnswerDTO;
import com.jingdianjichi.subject.application.dto.SubjectInfoDTO;
import com.jingdianjichi.subject.domain.entity.SubjectAnswerBO;
import com.jingdianjichi.subject.domain.entity.SubjectInfoBO;
import com.jingdianjichi.subject.infra.basic.entity.SubjectInfo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 标签dto的转换
 */
@Mapper
public interface SubjectAnswerConvert {
        SubjectAnswerConvert INSTANCE = Mappers.getMapper(SubjectAnswerConvert.class);
        List<SubjectAnswerBO> convertDToToBo(List<SubjectAnswerDTO> subjectAnswerDTO);
        SubjectAnswerBO convertDtoToBo(SubjectAnswerDTO subjectAnswerDTO);
}
